<template>
	<view class="box">
		<uNavbar title="我的客服" bgColor="transparent"></uNavbar>
		<view class="title">
			客服手机：{{info.contact_us_phone}}
		</view>
		<view class="code">
			<image :src="info.weChat_image" mode="aspectFill"></image>
		</view>
	</view>
</template>

<script>
	import { myservice} from "../../api/setting.js"
	export default {
		data() {
			return {
				info:{}
			}
		},
		onLoad() {
			this.getinfo()
		},
		methods: {
			getinfo(){
				myservice().then(res=>{
					this.info=res.data
					console.log(res)
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.box {
		width: 750rpx;
		height: 100vh;
		background-color: #211E38;
	}
	.title{
		width: 750rpx;
		margin-top: 40rpx;
		font-weight: 400;
		font-size: 32rpx;
		color: #FFFFFF;
		text-align: center;
	}
	.code{
		width: 412rpx;
		height: 408rpx;
		margin: 0 auto;
		margin-top: 64rpx;
		>image{
			width: 412rpx;
			height: 408rpx;
			border-radius: 20rpx 20rpx 20rpx 20rpx;
		}
	}
</style>
